<!DOCTYPE html>
<html>
<head>
    <link href="https://cdn.staticfile.org/viewerjs/1.3.3/viewer.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/viewerjs/1.3.3/viewer.min.js"></script>
    <title>墨水屏刷新结果</title>
    <#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <#if shiro.hasPermission(":eslrefreshresult:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
        </#if>
        <#if shiro.hasPermission(":eslrefreshresult:update")>
        <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
    </#if>
    <#if shiro.hasPermission(":eslrefreshresult:delete")>
    <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</#if>
</div>
<table id="jqGrid"></table>
<div id="jqGridPager"></div>
</div>

<div id="img_preview" v-show="showPic">
</div>

<div v-show="!showList" class="panel panel-default">
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">sid</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.sid" placeholder="sid"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">ESL_ID</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.eslId" placeholder="ESL_ID"/>
            </div>
        </div>
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">基站与价签之间通信的能量值</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.rpfPower"-->
        <!--                       placeholder="基站与价签之间通信的能量值"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <div class="form-group">
            <div class="col-sm-2 control-label">失败重试次数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.retry" placeholder="失败重试次数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">基站id</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.apId" placeholder="基站id"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">刷新效果</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.eslImage"
                       placeholder="刷新效果"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">基站mac</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.apMac" placeholder="基站mac"/>
            </div>
        </div>
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">此价签在此基站上的最后一次心跳时间</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.lastHbTime"-->
        <!--                       placeholder="此价签在此基站上的最后一次心跳时间"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">通信ACK值</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.lastEslAck" placeholder="通信ACK值"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">最后一次通信任务类型</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.lastPayloadType"-->
        <!--                       placeholder="最后一次通信任务类型"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">此价签绑定的salesNo</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.salesNo" placeholder="此价签绑定的salesNo"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <div class="form-group">
            <div class="col-sm-2 control-label">错误代码</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.statusNo" placeholder="错误代码"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">错误信息</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.errMsg" placeholder="错误信息"/>
            </div>
        </div>
        <!--        <div class="form-group">-->
        <!--            <div class="col-sm-2 control-label">创建时间</div>-->
        <!--            <div class="col-sm-10">-->
        <!--                <input type="text" class="form-control" v-model="eslRefreshResult.createTime" placeholder="创建时间"/>-->
        <!--            </div>-->
        <!--        </div>-->
        <div class="form-group">
            <div class="col-sm-2 control-label">更新时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="eslRefreshResult.updateTime" placeholder="更新时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..."
                   @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
        </div>
    </form>
</div>
</div>


<script src="${request.contextPath}/statics/js/modules/epd/eslrefreshresult.js?_${.now?long}"></script>
</body>
</html>